package com.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by shuyun on 2016/9/9.
 */

@Controller
@RequestMapping("/db")
public class DBController {
    private static Logger logger = LoggerFactory.getLogger(DBController.class);

    @RequestMapping("/list")
    public String findDB(){
        logger.info("11111111");
        System.out.println("2222222222");
        return "hello";
    }

}
